]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
telepathyClient: Increase the timestamp timeout to 3 minutes
authorCarlos Soriano <carlos.soriano89@gmail.com>
Sat, 22 Jun 2013 17:21:32 +0000 (19:21 +0200)
committerCarlos Soriano <carlos.soriano89@gmail.com>
Mon, 24 Jun 2013 11:54:06 +0000 (13:54 +0200)
The timestamp timeout specifies how long we should wait before
adding a timestamp to the notification. A timeout of one minute
ended up showing a lot of timestamps, so increase it to 3 minutes.

https://bugzilla.gnome.org/show_bug.cgi?id=687809

js/ui/components/telepathyClient.js

index 8d4520d32c204c4105f9c36189074eff76d96433..72bc0104b085e0e1b20ac956288ea77d0f1d0828 100644 (file)
@@ -18,7 +18,7 @@ const Params = imports.misc.params;
 const PopupMenu = imports.ui.popupMenu;
 
 // See Notification.appendMessage
-const SCROLLBACK_IMMEDIATE_TIME = 60; // 1 minute
+const SCROLLBACK_IMMEDIATE_TIME = 3 * 60; // 3 minutes
 const SCROLLBACK_RECENT_TIME = 15 * 60; // 15 minutes
 const SCROLLBACK_RECENT_LENGTH = 20;
 const SCROLLBACK_IDLE_LENGTH = 5;